import 'package:inmotion_pro/l10n/local.dart';

import '../../../config/r.dart';

enum VehicleLightType {
  off,
  lowBeam,
  highBeam,
  on;

  String get assetPath {
    switch (this) {
      case VehicleLightType.off:
        return R.lightOff;
      case VehicleLightType.lowBeam:
        return R.lowBeam;
      case VehicleLightType.highBeam:
        return R.highBeam;
      case VehicleLightType.on:
        return R.lightOn;
    }
  }

  String get title {
    switch (this) {
      case VehicleLightType.off:
        return local.light_off;
      case VehicleLightType.lowBeam:
        return local.low_beam;
      case VehicleLightType.highBeam:
        return local.high_beam;
      case VehicleLightType.on:
        return local.light_on;
    }
  }
}
